package Vue;

import java.io.ByteArrayInputStream;
import java.io.InputStream;

public class ThreadSound extends Thread{
	private Sound player = new Sound((System.getProperty("user.dir")+"\\src\\Vue\\ChatSon.wav"));
	public void run() {
		InputStream stream = new ByteArrayInputStream(player.getSamples());
		player.play(stream);
	  }	
}
